﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PrearrangedChaos.AgileZen.Service.Rest
{
    public class AuthorizationException : AgileZenServiceException
    {
        public Uri ResourceUri { get; private set; }

        internal AuthorizationException(string message, Uri resourceUri) : base(message)
        {
            ResourceUri = resourceUri;
        }

        internal AuthorizationException(string message, Uri resourceUri, Exception innerException)
            : base(message, innerException)
        {
            ResourceUri = resourceUri;
        }
    }
}
